package com.navi.loaddata.core.gpEntity;

import com.alibaba.fastjson.annotation.JSONField;
import com.navi.loaddata.core.entity.BaseEntity;

import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Objects;

@Entity
@Table(name = "wpp_sht_ope_info_ext", schema = "sor", catalog = "qmstst")
public class WppShtOpeInfoExt extends BaseEntity{
    private String panelId;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp extT1;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp extT2;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp extT3;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp extT4;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp extT5;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp extT6;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp extT7;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp extT8;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp extT9;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp extT10;
    private BigDecimal extN1;
    private BigDecimal extN2;
    private BigDecimal extN3;
    private BigDecimal extN4;
    private BigDecimal extN5;
    private BigDecimal extN6;
    private BigDecimal extN7;
    private BigDecimal extN8;
    private BigDecimal extN9;
    private BigDecimal extN10;
    private String extS1;
    private String extS2;
    private String extS3;
    private String extS4;
    private String extS5;
    private String extS6;
    private String extS7;
    private String extS8;
    private String extS9;
    private String extS10;
    private String extS11;
    private String extS12;
    private String extS13;
    private String extS14;
    private String extS15;
    private String extS16;
    private String extS17;
    private String extS18;
    private String extS19;
    private String extS20;

    @Id
    @Column(name = "panel_id")
    public String getPanelId() {
        return panelId;
    }

    public void setPanelId(String panelId) {
        this.panelId = panelId;
    }

    @Basic
    @Column(name = "ext_t_1")
    public Timestamp getExtT1() {
        return extT1;
    }

    public void setExtT1(Timestamp extT1) {
        this.extT1 = extT1;
    }

    @Basic
    @Column(name = "ext_t_2")
    public Timestamp getExtT2() {
        return extT2;
    }

    public void setExtT2(Timestamp extT2) {
        this.extT2 = extT2;
    }

    @Basic
    @Column(name = "ext_t_3")
    public Timestamp getExtT3() {
        return extT3;
    }

    public void setExtT3(Timestamp extT3) {
        this.extT3 = extT3;
    }

    @Basic
    @Column(name = "ext_t_4")
    public Timestamp getExtT4() {
        return extT4;
    }

    public void setExtT4(Timestamp extT4) {
        this.extT4 = extT4;
    }

    @Basic
    @Column(name = "ext_t_5")
    public Timestamp getExtT5() {
        return extT5;
    }

    public void setExtT5(Timestamp extT5) {
        this.extT5 = extT5;
    }

    @Basic
    @Column(name = "ext_t_6")
    public Timestamp getExtT6() {
        return extT6;
    }

    public void setExtT6(Timestamp extT6) {
        this.extT6 = extT6;
    }

    @Basic
    @Column(name = "ext_t_7")
    public Timestamp getExtT7() {
        return extT7;
    }

    public void setExtT7(Timestamp extT7) {
        this.extT7 = extT7;
    }

    @Basic
    @Column(name = "ext_t_8")
    public Timestamp getExtT8() {
        return extT8;
    }

    public void setExtT8(Timestamp extT8) {
        this.extT8 = extT8;
    }

    @Basic
    @Column(name = "ext_t_9")
    public Timestamp getExtT9() {
        return extT9;
    }

    public void setExtT9(Timestamp extT9) {
        this.extT9 = extT9;
    }

    @Basic
    @Column(name = "ext_t_10")
    public Timestamp getExtT10() {
        return extT10;
    }

    public void setExtT10(Timestamp extT10) {
        this.extT10 = extT10;
    }

    @Basic
    @Column(name = "ext_n_1")
    public BigDecimal getExtN1() {
        return extN1;
    }

    public void setExtN1(BigDecimal extN1) {
        this.extN1 = extN1;
    }

    @Basic
    @Column(name = "ext_n_2")
    public BigDecimal getExtN2() {
        return extN2;
    }

    public void setExtN2(BigDecimal extN2) {
        this.extN2 = extN2;
    }

    @Basic
    @Column(name = "ext_n_3")
    public BigDecimal getExtN3() {
        return extN3;
    }

    public void setExtN3(BigDecimal extN3) {
        this.extN3 = extN3;
    }

    @Basic
    @Column(name = "ext_n_4")
    public BigDecimal getExtN4() {
        return extN4;
    }

    public void setExtN4(BigDecimal extN4) {
        this.extN4 = extN4;
    }

    @Basic
    @Column(name = "ext_n_5")
    public BigDecimal getExtN5() {
        return extN5;
    }

    public void setExtN5(BigDecimal extN5) {
        this.extN5 = extN5;
    }

    @Basic
    @Column(name = "ext_n_6")
    public BigDecimal getExtN6() {
        return extN6;
    }

    public void setExtN6(BigDecimal extN6) {
        this.extN6 = extN6;
    }

    @Basic
    @Column(name = "ext_n_7")
    public BigDecimal getExtN7() {
        return extN7;
    }

    public void setExtN7(BigDecimal extN7) {
        this.extN7 = extN7;
    }

    @Basic
    @Column(name = "ext_n_8")
    public BigDecimal getExtN8() {
        return extN8;
    }

    public void setExtN8(BigDecimal extN8) {
        this.extN8 = extN8;
    }

    @Basic
    @Column(name = "ext_n_9")
    public BigDecimal getExtN9() {
        return extN9;
    }

    public void setExtN9(BigDecimal extN9) {
        this.extN9 = extN9;
    }

    @Basic
    @Column(name = "ext_n_10")
    public BigDecimal getExtN10() {
        return extN10;
    }

    public void setExtN10(BigDecimal extN10) {
        this.extN10 = extN10;
    }

    @Basic
    @Column(name = "ext_s_1")
    public String getExtS1() {
        return extS1;
    }

    public void setExtS1(String extS1) {
        this.extS1 = extS1;
    }

    @Basic
    @Column(name = "ext_s_2")
    public String getExtS2() {
        return extS2;
    }

    public void setExtS2(String extS2) {
        this.extS2 = extS2;
    }

    @Basic
    @Column(name = "ext_s_3")
    public String getExtS3() {
        return extS3;
    }

    public void setExtS3(String extS3) {
        this.extS3 = extS3;
    }

    @Basic
    @Column(name = "ext_s_4")
    public String getExtS4() {
        return extS4;
    }

    public void setExtS4(String extS4) {
        this.extS4 = extS4;
    }

    @Basic
    @Column(name = "ext_s_5")
    public String getExtS5() {
        return extS5;
    }

    public void setExtS5(String extS5) {
        this.extS5 = extS5;
    }

    @Basic
    @Column(name = "ext_s_6")
    public String getExtS6() {
        return extS6;
    }

    public void setExtS6(String extS6) {
        this.extS6 = extS6;
    }

    @Basic
    @Column(name = "ext_s_7")
    public String getExtS7() {
        return extS7;
    }

    public void setExtS7(String extS7) {
        this.extS7 = extS7;
    }

    @Basic
    @Column(name = "ext_s_8")
    public String getExtS8() {
        return extS8;
    }

    public void setExtS8(String extS8) {
        this.extS8 = extS8;
    }

    @Basic
    @Column(name = "ext_s_9")
    public String getExtS9() {
        return extS9;
    }

    public void setExtS9(String extS9) {
        this.extS9 = extS9;
    }

    @Basic
    @Column(name = "ext_s_10")
    public String getExtS10() {
        return extS10;
    }

    public void setExtS10(String extS10) {
        this.extS10 = extS10;
    }

    @Basic
    @Column(name = "ext_s_11")
    public String getExtS11() {
        return extS11;
    }

    public void setExtS11(String extS11) {
        this.extS11 = extS11;
    }

    @Basic
    @Column(name = "ext_s_12")
    public String getExtS12() {
        return extS12;
    }

    public void setExtS12(String extS12) {
        this.extS12 = extS12;
    }

    @Basic
    @Column(name = "ext_s_13")
    public String getExtS13() {
        return extS13;
    }

    public void setExtS13(String extS13) {
        this.extS13 = extS13;
    }

    @Basic
    @Column(name = "ext_s_14")
    public String getExtS14() {
        return extS14;
    }

    public void setExtS14(String extS14) {
        this.extS14 = extS14;
    }

    @Basic
    @Column(name = "ext_s_15")
    public String getExtS15() {
        return extS15;
    }

    public void setExtS15(String extS15) {
        this.extS15 = extS15;
    }

    @Basic
    @Column(name = "ext_s_16")
    public String getExtS16() {
        return extS16;
    }

    public void setExtS16(String extS16) {
        this.extS16 = extS16;
    }

    @Basic
    @Column(name = "ext_s_17")
    public String getExtS17() {
        return extS17;
    }

    public void setExtS17(String extS17) {
        this.extS17 = extS17;
    }

    @Basic
    @Column(name = "ext_s_18")
    public String getExtS18() {
        return extS18;
    }

    public void setExtS18(String extS18) {
        this.extS18 = extS18;
    }

    @Basic
    @Column(name = "ext_s_19")
    public String getExtS19() {
        return extS19;
    }

    public void setExtS19(String extS19) {
        this.extS19 = extS19;
    }

    @Basic
    @Column(name = "ext_s_20")
    public String getExtS20() {
        return extS20;
    }

    public void setExtS20(String extS20) {
        this.extS20 = extS20;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        WppShtOpeInfoExt that = (WppShtOpeInfoExt) o;
        return Objects.equals(panelId, that.panelId) &&
                Objects.equals(extT1, that.extT1) &&
                Objects.equals(extT2, that.extT2) &&
                Objects.equals(extT3, that.extT3) &&
                Objects.equals(extT4, that.extT4) &&
                Objects.equals(extT5, that.extT5) &&
                Objects.equals(extT6, that.extT6) &&
                Objects.equals(extT7, that.extT7) &&
                Objects.equals(extT8, that.extT8) &&
                Objects.equals(extT9, that.extT9) &&
                Objects.equals(extT10, that.extT10) &&
                Objects.equals(extN1, that.extN1) &&
                Objects.equals(extN2, that.extN2) &&
                Objects.equals(extN3, that.extN3) &&
                Objects.equals(extN4, that.extN4) &&
                Objects.equals(extN5, that.extN5) &&
                Objects.equals(extN6, that.extN6) &&
                Objects.equals(extN7, that.extN7) &&
                Objects.equals(extN8, that.extN8) &&
                Objects.equals(extN9, that.extN9) &&
                Objects.equals(extN10, that.extN10) &&
                Objects.equals(extS1, that.extS1) &&
                Objects.equals(extS2, that.extS2) &&
                Objects.equals(extS3, that.extS3) &&
                Objects.equals(extS4, that.extS4) &&
                Objects.equals(extS5, that.extS5) &&
                Objects.equals(extS6, that.extS6) &&
                Objects.equals(extS7, that.extS7) &&
                Objects.equals(extS8, that.extS8) &&
                Objects.equals(extS9, that.extS9) &&
                Objects.equals(extS10, that.extS10) &&
                Objects.equals(extS11, that.extS11) &&
                Objects.equals(extS12, that.extS12) &&
                Objects.equals(extS13, that.extS13) &&
                Objects.equals(extS14, that.extS14) &&
                Objects.equals(extS15, that.extS15) &&
                Objects.equals(extS16, that.extS16) &&
                Objects.equals(extS17, that.extS17) &&
                Objects.equals(extS18, that.extS18) &&
                Objects.equals(extS19, that.extS19) &&
                Objects.equals(extS20, that.extS20);
    }

    @Override
    public int hashCode() {

        return Objects.hash(panelId, extT1, extT2, extT3, extT4, extT5, extT6, extT7, extT8, extT9, extT10, extN1, extN2, extN3, extN4, extN5, extN6, extN7, extN8, extN9, extN10, extS1, extS2, extS3, extS4, extS5, extS6, extS7, extS8, extS9, extS10, extS11, extS12, extS13, extS14, extS15, extS16, extS17, extS18, extS19, extS20);
    }
}
